﻿using Abp.Domain.Entities;
using Abp.Domain.Entities.Auditing;
using App.BaseObject;
using System;
using System.ComponentModel.DataAnnotations;

namespace App.Authorization.Users
{
    /// <summary>
    /// 日程事件
    /// </summary>
    public class CalendarEvent : AuditedEntity, IMayHaveTenant
    {
        public DateTime StartDate { get; set; }
        public DateTime EndDate { get; set; }
        [StringLength(ColumnSetting.Short)]
        public string Color { get; set; }
        [StringLength(ColumnSetting.Remark)]
        public string Subject { get; set; }
        public virtual User User { get; set; }
        public int? TenantId { get; set; }
    }
}
